import Home from "@/views/Home.vue";
import Resource from "@/views/Resource/index.vue";
import Music from "@/components/Music/index.vue";
import NotFound from "@/components/NotFound/index.vue";
import Chat from "@/views/Chat/index.vue";
import About from "@/views/About/index.vue";
import Record from "@/views/Record/index.vue";
export default [
    { path: "/", component: Home, meta: { keepAlive: true, index: 0 } },
    {
        path: "/resource",
        component: Resource,
        meta: { keepAlive: true, index: 2 },
    },
    {
        path: "/about",
        component: About,
        meta: { keepAlive: true, index: 3 },
    },
    {
        path: "/music",
        component: Music,
        meta: { keepAlive: true, index: 4 },
    },
    {
        path: "/chat",
        component: Chat,
        meta: { keepAlive: true, index: 5 },
    },
    {
        path: "/like",
        component: Record,
        meta: { keepAlive: true, index: 5 },
    },
    { path: '/:pathMatch(.*)', component: NotFound }
];
